var vue = new Vue({
    el:"#app",
    data:{
        spot:{}
    },
    methods:{
    },
    mounted:function () {
        var param = getParams();
        var id = param.id;
        console.log(id);
        //景点明细
        $.get(
            'http://localhost:8080/detailsOfScenicSpots/list', {id:id}, function (data) {
                vue.spot = data.data;
            }
        )
    }
});

